package com.ggb.reactive.properties

import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.stereotype.Component

@Component
@ConfigurationProperties(prefix = "app.wechat")
data class WeChatProperties(
    var appid: String? = null,//小程序的appid
    var secret: String? = null,//小程序的秘钥
    var mchid: String? = null,//商户号
    var mchSerialNo: String? = null,//商户API证书的证书序列号
    var privateKeyFilePath: String? = null,//商户私钥文件
    var apiV3Key: String? = null,//证书解密的密钥
    var weChatPayCertFilePath: String? = null,//平台证书
    var notifyUrl: String? = null,//支付成功的回调地址
    var refundNotifyUrl: String? = null,//退款成功的回调地址
)